<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>综合</title>
</head>
<body>
<script>
    const person = {
        name:"jack",
        age:21,
        language: ['java','js','css']
    }

    function hello(person) {
        console.log("hello," + person.name)
    }

    function hi({name}) {
        console.log("hello," +name)
    }

    let hehe = ({name})=>console.log("hello," +name)
    hehe(person)
    hello(person)
    hi(person)
</script>

</body>
</html>